<template>
	<view class="module-title-container">
		<view class="title">{{title}}</view>
		<view class="more" @click="hancleClick">
			更多
			<uni-icons type="arrowright" color="#666666"></uni-icons>
		</view>
	</view>
</template>

<script>
	// 模块标题
	export default {
		props: {
			title: String,
		},
		data() {
			return {

			};
		},
		methods: {
			hancleClick() {
				this.$emit("click-more")
			}
		}
	}
</script>

<style lang="scss">
	@import "uni.scss";

	.module-title-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 96rpx;
		.title {
			color: black;
			font-size: 32rpx;
			font-weight: bold;
		}

		.more {
			font-size: 26rpx;
			line-height: 26rpx;
			color: #666666;
		}


	}
</style>
